package com.liruo.learn.spring.mvc.controller.valid.custom;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author:liruo
 * @Date:2023-06-07-22:31:23
 * @Desc
 */
@Data
public class CustomValidBean {
    private String regxTest;

    @NotEmpty(groups = Group.Update.class)
    private String updateG;

    @NotEmpty(groups = Group.Create.class)
    private String createG;
}
